//
//  HWTabBarViewController.m
//  购物车
//
//  Created by 胡伟 on 16/10/10.
//  Copyright © 2016年 huwei. All rights reserved.
//

#import "HWTabBarViewController.h"
#import "ViewController.h"
@interface HWTabBarViewController ()

@end

@implementation HWTabBarViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    UINavigationController * nv = [[UINavigationController alloc]initWithRootViewController:[[ViewController alloc]init]];
    nv.tabBarItem.title = @"购物车";
    [self addChildViewController:nv];
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
